package com.lipaluma.examples.annotation.invoices;

import com.lipaluma.annotations.mapping.MapColumn;
import com.lipaluma.annotations.validations.ValidateInteger;

public class Invoice {
	@ValidateInteger(unique=true)
	@MapColumn(index=3)
	private Long id;
	
	@MapColumn(index=4)
	private double amount;
	
	public Long getId() {
		return id;
	}
	public double getAmount() {
		return amount;
	}
}
